//
//  LHRadioTableViewCell.m
//  EPA
//
//  Created by 卢浩 on 16/4/18.
//  Copyright © 2016年 卢浩. All rights reserved.
//

#import "LHRadioTableViewCell.h"
#import "LHNetWorkRequestManager.h"

@implementation LHRadioTableViewCell

- (void)setModel:(LHRadioModel *)model{
    if (_model != model) {
        _model = model;
    }
}

- (void)layoutSubviews{
    self.titleLable.text = self.model.title;
    self.descLable.text = self.model.desc;
    self.nameLable.text = self.model.userinfo[@"uname"];
    [self.contentImgView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    [self.iconImgView sd_setImageWithURL:[NSURL URLWithString:self.model.userinfo[@"icon"]]];
}

@end
